//
//  TaskDiaoDuOrderModel.h
//  LogisticsSupplier
//
//  Created by 吕晶 on 2021/4/2.
//  Copyright © 2021 吕晶. All rights reserved.
//

#import <Foundation/Foundation.h>
@class TaskDiaoDuOrderGoodModel;

NS_ASSUME_NONNULL_BEGIN

@interface TaskDiaoDuOrderModel : NSObject

@property (nonatomic, assign) int dp_id;//单据id（提单/运单)
@property (nonatomic, copy) NSString *serial_num;//运单编号

@property (nonatomic, copy) NSString *s_tel_name;//发货联系人
@property (nonatomic, copy) NSString *s_phone;//发货联系方式
@property (nonatomic, copy) NSString *s_province;//出发省
@property (nonatomic, copy) NSString *s_city;//出发城市
@property (nonatomic, copy) NSString *s_town;//出发区
@property (nonatomic, copy) NSString *s_info;//发货详细地址

@property (nonatomic, copy) NSString *r_tel_name;//收货联系人
@property (nonatomic, copy) NSString *r_phone;//收货联系方式
@property (nonatomic, copy) NSString *r_province;//收货省
@property (nonatomic, copy) NSString *r_city;//收货城市
@property (nonatomic, copy) NSString *r_town;//收货区
@property (nonatomic, copy) NSString *r_info;//收货详细地址
@property (nonatomic, strong) NSMutableArray <TaskDiaoDuOrderGoodModel *>*goods_list;

@end

@interface TaskDiaoDuOrderGoodModel : NSObject

@property (nonatomic, assign) int Id;//
@property (nonatomic, assign) int ta_id;//3pl的任务单id/任务单id
@property (nonatomic, assign) int dp_id;//提货计划id/运单id
@property (nonatomic, assign) int g_id;//货物id
@property (nonatomic, copy) NSString *goods_name;//货物名称
@property (nonatomic, copy) NSString *good_type;//货物型号
@property (nonatomic, copy) NSString *pk_name;//包装名称
@property (nonatomic, assign) int num;//货物数量
@property (nonatomic, assign) int pnum;//件数
@property (nonatomic, assign) CGFloat weight;//重量
@property (nonatomic, assign) CGFloat volume;//体积
@property (nonatomic, assign) int count_model;//重量计算方式 1件数计算 2数量方式
@property (nonatomic, assign) int residue_pnum;//剩余件数
@property (nonatomic, assign) int residue_num;//剩余货物数量
@property (nonatomic, assign) int accept_num;//货物收容数
@property (nonatomic, assign) int select_pnum;//已选件数
@property (nonatomic, assign) int select_num;//已选数量
@property (nonatomic, assign) CGFloat residue_weight;//剩余重量
@property (nonatomic, assign) CGFloat residue_volume;//剩余体积
@property (nonatomic, assign) CGFloat select_weight;//已选重量
@property (nonatomic, assign) CGFloat select_volume;//已选体积

@end

NS_ASSUME_NONNULL_END
